toJson method

Map<String, dynamic> toJson()

Implementation

Map<String, dynamic> toJson() => {
      "exp": exp,
      "iat": iat,
      "auth_time": authTime,
      "jti": jti,
      "iss": iss,
      "aud": aud,
      "sub": sub,
      "typ": typ,
      "azp": azp,
      "session_state": sessionState,
      "acr": acr,
      "allowed-origins": allowedOrigins == null
          ? []
          : List<dynamic>.from(allowedOrigins!.map((x) => x)),
      "realm_access": realmAccess?.toJson(),
      "resource_access": resourceAccess?.toJson(),
      "authorization": authorization?.toJson(),
      "scope": scope,
      "sid": sid,
      "email_verified": emailVerified,
      "designationId": designationId,
      "mobileNumber": mobileNumber,
      "fullName": fullName,
      "levelName": levelName,
      "preferred_username": preferredUsername,
      "given_name": givenName,
      "userId": userId,
      "userCategory": userCategory,
      "positionId": positionId,
      "levelId": levelId,
      "name": name,
      "partnerId": partnerId,
      "userType": userType,
      "email": email,
      "status": status,
    };