Early Preview
This is currently very much a preview. Please feel free to try things out,
but don't be upset if anything is not yet working. Feedback is welcome over on our
GitHub Dicussions page.
class Duende.​IdentityServer.​Saml.​Services.​NameIdGenerationResult
Assembly: Duende.IdentityServer
Inheritance: object → NameIdGenerationResult
Result of NameID generation, representing either a successful <see cref="P:Duende.IdentityServer.Saml.Services.NameIdGenerationResult.NameId" /> or a SAML protocol error.
Properties
public
NameId
NameId
The generated NameID, or null if generation failed.
Error
The error, or null if generation succeeded.
public
bool
IsError
Whether this result represents an error.
Methods
public static
NameIdGenerationResult
Success​(NameId nameId)
Creates a successful result.
public static
NameIdGenerationResult
Failure​(string statusCode,
string subStatusCode,
string message)
Creates a failure result with SAML error status codes.
public
bool
Equals​(object obj)
Inherited from object
protected
void
Finalize​()
Inherited from object
public
int
GetHashCode​()
Inherited from object
protected
object
MemberwiseClone​()
Inherited from object
public
string
ToString​()
Inherited from object