Public Instance methods
introspection_request(*)
[show source]
# File lib/rodauth/features/oauth_resource_indicators.rb 132 def introspection_request(*) 133 payload = super 134 135 payload[oauth_grants_resource_column] = payload["aud"] if payload["aud"] 136 137 payload 138 end
json_token_introspect_payload(grant)
[show source]
# File lib/rodauth/features/oauth_resource_indicators.rb 118 def json_token_introspect_payload(grant) 119 return super unless grant && grant[oauth_grants_id_column] 120 121 payload = super 122 123 token_indicators = grant[oauth_grants_resource_column] 124 125 token_indicators = token_indicators.split(" ") if token_indicators.is_a?(String) 126 127 payload[:aud] = token_indicators 128 129 payload 130 end