Class: Persona::Oidc::Identity

Inherits:
Struct
  • Object
show all
Defined in:
lib/persona/oidc.rb

Overview

The verified outcome of an OIDC round-trip: which provider vouched for the browser, and the stable subject the token was issued for. This pair becomes an account binding.

Instance Attribute Summary collapse

Instance Attribute Details

#providerObject

Returns the value of attribute provider

Returns:

  • (Object)

    the current value of provider



26
27
28
# File 'lib/persona/oidc.rb', line 26

def provider
  @provider
end

#subjectObject

Returns the value of attribute subject

Returns:

  • (Object)

    the current value of subject



26
27
28
# File 'lib/persona/oidc.rb', line 26

def subject
  @subject
end