Class: Persona::Oidc::AuthorizeStart

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

Overview

What #authorize returns: where to send the browser, and the per-flow secrets to stash with the state and hand back to #verify on the callback. The stub needs no stash; a real code+PKCE flow does.

Instance Attribute Summary collapse

Instance Attribute Details

#stashObject

Returns the value of attribute stash

Returns:

  • (Object)

    the current value of stash



31
32
33
# File 'lib/persona/oidc.rb', line 31

def stash
  @stash
end

#urlObject

Returns the value of attribute url

Returns:

  • (Object)

    the current value of url



31
32
33
# File 'lib/persona/oidc.rb', line 31

def url
  @url
end