struct

KemalIdentity::MFA::PendingEnrolment

Inherits Struct < Value < Object

A factor that has been created but not yet proved.

provisioning_uri contains the secret in plain text, and this is the only moment it exists outside the person's own possession: render it as a QR code and let it go. It is a credential — never log it, never put it in a URL that leaves the machine, and never store it beside the ciphertext it came from.

Constructors

new(factor : Factor, provisioning_uri : String)
Source

Instance methods

factor
Source
inspect(io : IO) : Nil

Appends this struct's name and instance variables names and values to the given IO.

struct Point
  def initialize(@x : Int32, @y : Int32)
  end
end

p1 = Point.new 1, 2
p1.to_s    # "Point(@x=1, @y=2)"
p1.inspect # "Point(@x=1, @y=2)"
Source
provisioning_uri
Source
to_s(io : IO) : Nil

Same as #inspect(io).

Source