private void OnGrantTypeValueChanged(Entity.ClientGrantType grantType)
 {
     Model.AllowedGrantTypes.Add(new Entity.ClientGrantType());
     if (grantType.GrantType == "implicit")
     {
         Model.AllowAccessTokensViaBrowser = true;
     }
     HandleModificationState.EntityCreated(grantType);
 }
Example #2
0
 private void OnGrantTypeValueChanged(Entity.ClientGrantType grantType)
 {
     Model.AllowedGrantTypes.Add(grantType);
     if (grantType.GrantType == "implicit")
     {
         Model.AllowAccessTokensViaBrowser = true;
     }
     _grantType   = new Entity.ClientGrantType();
     grantType.Id = Guid.NewGuid().ToString();
     HandleModificationState.EntityCreated(grantType);
 }
 private void OnGrantTypeDeletedClicked(Entity.ClientGrantType grantType)
 {
     Model.AllowedGrantTypes.Remove(grantType);
     HandleModificationState.EntityDeleted(grantType);
 }