public EndUserAuthorizationSuccessResponseBase(Uri clientCallback, EndUserAuthorizationRequest request)
     : base(request, clientCallback)
 {
     ((IMessageWithClientState)this).ClientState = request.ClientState;
     this.Scope = new HashSet <string>(OAuthUtilities.ScopeStringComparer);
     this.Scope.ResetContents(request.Scope);
 }
 public EndUserAuthorizationFailedResponse(Uri clientCallback, EndUserAuthorizationRequest request)
     : base(((IProtocolMessage)request).Version, MessageTransport.Indirect, clientCallback)
 {
     ((IMessageWithClientState)this).ClientState = request.ClientState;
 }
 public EndUserAuthorizationSuccessAccessTokenResponse(Uri clientCallback, EndUserAuthorizationRequest request)
     : base(clientCallback, request)
 {
     ((IMessageWithClientState)this).ClientState = request.ClientState;
     this.TokenType = Protocol.AccessTokenTypes.Bearer;
 }
Exemplo n.º 4
0
 public EndUserAuthorizationSuccessAuthCodeResponse(Uri clientCallback, EndUserAuthorizationRequest request)
     : base(clientCallback, request)
 {
     ((IMessageWithClientState)this).ClientState = request.ClientState;
 }