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

Afficher le fichier Open project: AzureAD/microsoft-authentication-library-for-dotnet

Méthodes publiques

Méthode 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

Méthode Description
CreateIdToken ( string uniqueId, string displayableId ) : string

Method Details

CreateInvalidGrantTokenResponseMessage() public static méthode

public static CreateInvalidGrantTokenResponseMessage ( ) : HttpResponseMessage
Résultat System.Net.Http.HttpResponseMessage

CreateSuccessIdTokenResponseMessage() public static méthode

public static CreateSuccessIdTokenResponseMessage ( ) : HttpResponseMessage
Résultat System.Net.Http.HttpResponseMessage

CreateSuccessTokenResponseMessage() public static méthode

public static CreateSuccessTokenResponseMessage ( ) : HttpResponseMessage
Résultat System.Net.Http.HttpResponseMessage

CreateSuccessTokenResponseMessage() public static méthode

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

CreateSuccessfulClientCredentialTokenResponseMessage() public static méthode

public static CreateSuccessfulClientCredentialTokenResponseMessage ( ) : HttpResponseMessage
Résultat System.Net.Http.HttpResponseMessage

GenerateStreamFromString() public static méthode

public static GenerateStreamFromString ( string s ) : Stream
s string
Résultat Stream