C# Class Test.MSAL.NET.Unit.Mocks.MockHelpers

Mostrar archivo Open project: AzureAD/microsoft-authentication-library-for-dotnet

Public Methods

Method Description
CreateInvalidGrantTokenResponseMessage ( ) : HttpResponseMessage
CreateSuccessIdTokenResponseMessage ( ) : HttpResponseMessage
CreateSuccessTokenResponseMessage ( ) : HttpResponseMessage
CreateSuccessTokenResponseMessage ( string uniqueId, string displayableId, string rootId, string scope ) : HttpResponseMessage
CreateSuccessfulClientCredentialTokenResponseMessage ( ) : HttpResponseMessage
GenerateStreamFromString ( string s ) : Stream

Private Methods

Method Description
CreateIdToken ( string uniqueId, string displayableId ) : string

Method Details

CreateInvalidGrantTokenResponseMessage() public static method

public static CreateInvalidGrantTokenResponseMessage ( ) : HttpResponseMessage
return System.Net.Http.HttpResponseMessage

CreateSuccessIdTokenResponseMessage() public static method

public static CreateSuccessIdTokenResponseMessage ( ) : HttpResponseMessage
return System.Net.Http.HttpResponseMessage

CreateSuccessTokenResponseMessage() public static method

public static CreateSuccessTokenResponseMessage ( ) : HttpResponseMessage
return System.Net.Http.HttpResponseMessage

CreateSuccessTokenResponseMessage() public static method

public static CreateSuccessTokenResponseMessage ( string uniqueId, string displayableId, string rootId, string scope ) : HttpResponseMessage
uniqueId string
displayableId string
rootId string
scope string
return System.Net.Http.HttpResponseMessage

CreateSuccessfulClientCredentialTokenResponseMessage() public static method

public static CreateSuccessfulClientCredentialTokenResponseMessage ( ) : HttpResponseMessage
return System.Net.Http.HttpResponseMessage

GenerateStreamFromString() public static method

public static GenerateStreamFromString ( string s ) : Stream
s string
return Stream