pub struct RegisterAppParams {
pub client_name: String,
pub redirect_uris: String,
pub scopes: String,
pub website: Option<String>,
}Expand description
Parameters for registering a new application.
Fields§
§client_name: StringThe name of your application.
redirect_uris: StringWhere to redirect the user after authorization. Use urn:ietf:wg:oauth:2.0:oob for local apps.
scopes: StringSpace-separated list of scopes (e.g., “read write follow”).
website: Option<String>The website of your application.
Trait Implementations§
Auto Trait Implementations§
impl Freeze for RegisterAppParams
impl RefUnwindSafe for RegisterAppParams
impl Send for RegisterAppParams
impl Sync for RegisterAppParams
impl Unpin for RegisterAppParams
impl UnwindSafe for RegisterAppParams
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more