public AbstractConsentModel(global::IdentityServer4.Models.Consent consent) { ClientId = consent.ClientId; CreationTime = consent.CreationTime; Expiration = consent.Expiration; SubjectId = consent.SubjectId; Scopes = Serialize(consent.Scopes); }
public async Task <global::IdentityServer4.Models.Consent> MakeConsentAsync() { var result = new global::IdentityServer4.Models.Consent { ClientId = ClientId, Scopes = DeserializeScopes(Scopes), SubjectId = SubjectId }; return(await Task.FromResult(result)); }
public static ConsentModel ToConsentModel(this global::IdentityServer4.Models.Consent model) { return(new ConsentModel(model)); }
public FlattenedConsentModel(global::IdentityServer4.Models.Consent consent) : base(consent) { }