This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<TechnicalProfile Id="JwtIssuer"> | |
<DisplayName>JWT Issuer</DisplayName> | |
<Protocol Name="None" /> | |
<OutputTokenFormat>JWT</OutputTokenFormat> | |
<Metadata> | |
<Item Key="client_id">{service:te}</Item> | |
<Item Key="token_lifetime_secs">##TOKEN_EXPIRY_IN_SEC##</Item> | |
<Item Key="id_token_lifetime_secs">##TOKEN_EXPIRY_IN_SEC##</Item> | |
<Item Key="refresh_token_lifetime_secs">##SESSION_EXPIRY_IN_SEC##</Item> | |
<Item Key="rolling_refresh_token_lifetime_secs">7776000</Item> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
"JSON Property":{ | |
"prefix": "jsonp", | |
"description": "JSON Property", | |
"body": ["[JsonProperty(\"${1:name}\")]", "public ${0:type} ${1/(^.)/${0:/capitalize}/gi} { get; set; }"] | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
public interface ICommandHandler<T> where T : ICommand | |
{ | |
Task HandleAsync (T command); | |
} | |
//////////////////////////////////////////////////// | |
class CommandDispatcher : ICommandDispatcher | |
{ | |
private readonly IComponentContext _context; | |
public CommandDispatcher (IComponentContext componentContext) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
using System; | |
using System.IO; | |
class Program | |
{ | |
static void Main(string[] args) | |
{ | |
Console.WriteLine("Hello DevStyle!"); | |
FileStream textStream = File.Open("test.txt",FileMode.Open); |