AuthenticationService  v0.2.0
Public Member Functions | Properties | List of all members
Joutsen.Authentication.AuthenticatedPrincipal Class Reference

An adapter class that allows an AuthenticatedUser to be used as a principal. More...

Public Member Functions

 AuthenticatedPrincipal (AuthenticatedUser user, String authenticationType)
 
bool IsInRole (String role)
 

Properties

AuthenticatedUserIdentity Identity [get]
 

Detailed Description

An adapter class that allows an AuthenticatedUser to be used as a principal.

Since
0.1.0

Constructor & Destructor Documentation

◆ AuthenticatedPrincipal()

Joutsen.Authentication.AuthenticatedPrincipal.AuthenticatedPrincipal ( AuthenticatedUser  user,
String  authenticationType 
)

Member Function Documentation

◆ IsInRole()

bool Joutsen.Authentication.AuthenticatedPrincipal.IsInRole ( String  role)

Property Documentation

◆ Identity

AuthenticatedUserIdentity Joutsen.Authentication.AuthenticatedPrincipal.Identity
get