protected override void ProcessRecord() { var scopeClaim = new ScopeClaim(); scopeClaim.Name = Name; scopeClaim.AlwaysIncludeInIdToken = AlwaysIncludeInIdToken.GetValueOrDefault(scopeClaim.AlwaysIncludeInIdToken); scopeClaim.Description = Description; base.WriteObject(scopeClaim); }
/// <summary> /// Creates a Scope with default values /// </summary> public Scope() { Type = ScopeType.Resource; Claims = new ScopeClaim[] { }; IncludeAllClaimsForUser = false; Enabled = true; ShowInDiscoveryDocument = true; }
/// <summary> /// Creates a Scope with default values /// </summary> public Scope() { Type = ScopeType.Resource; Claims = new ScopeClaim[] { }; IncludeAllClaimsForUser = false; Enabled = true; ShowInDiscoveryDocument = true; }