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.​Test.​TestUserStore
Assembly: Duende.IdentityServer
Inheritance: object → TestUserStore
Store for test users
Methods
public
bool
ValidateCredentials​(string username,
string password)
Validates the credentials.
username
The username.
password
The password.
public
TestUser
FindBySubjectId​(string subjectId)
Finds the user by subject identifier.
subjectId
The subject identifier.
username
The username.
public
TestUser
FindByExternalProvider​(string provider,
string userId)
Finds the user by external provider.
provider
The provider.
userId
The user identifier.
public
TestUser
AutoProvisionUser​(string provider,
string userId,
System.​Collections.​Generic.​List<​System.​Security.​Claims.​Claim> claims)
Automatically provisions a user.
provider
The provider.
userId
The user identifier.
claims
The claims.
public
TestUser
CreateUser​(string username,
string password,
string name = null,
string email = null)
Adds a new a user.
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